

using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Abp.Application.Services;
using Abp.Application.Services.Dto;
using DualControl.CompanyInfos.Dtos;
using DualControl.CompanyInfos;

namespace DualControl.CompanyInfos
{
    /// <summary>
    /// CompanyInfo应用层服务的接口方法
    ///</summary>
    public interface ICompanyInfoAppService : IApplicationService
    {
        /// <summary>
    /// 获取CompanyInfo的分页列表信息
    ///</summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<PagedResultDto<CompanyInfoListDto>> GetPagedCompanyInfos(GetCompanyInfosInput input);


        /// <summary>
        /// 返回当前租户对应的企业概况信息
        /// </summary>
        /// <returns></returns>
        //Task<CompanyInfoListDto> GetCompanyInfoAsync();
        Task<CompanyInfoListDto> GetCompanyInfoAsync();
        /// <summary>
        /// 通过指定id获取CompanyInfoListDto信息
        /// </summary>
        Task<CompanyInfoListDto> GetCompanyInfoByIdAsync(EntityDto<int> input);


        /// <summary>
        /// 导出CompanyInfo为excel表
        /// </summary>
        /// <returns></returns>
		//Task<FileDto> GetCompanyInfosToExcel();

        /// <summary>
        /// 返回实体的EditDto
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<GetCompanyInfoForEditOutput> GetCompanyInfoForEdit(NullableIdDto<int> input);

        //todo:缺少Dto的生成GetCompanyInfoForEditOutput


        /// <summary>
        /// 添加或者修改CompanyInfo的公共方法
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task CreateOrUpdateCompanyInfo(CreateOrUpdateCompanyInfoInput input);


        /// <summary>
        /// 删除CompanyInfo信息的方法
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task DeleteCompanyInfo(EntityDto<int> input);


        /// <summary>
        /// 批量删除CompanyInfo
        /// </summary>
        Task BatchDeleteCompanyInfosAsync(List<int> input);


		//// custom codes
		 
        //// custom codes end
    }
}
